package com.example.a_java.model.dto.report;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * 贷款图表数据DTO
 */
@Data
@Schema(description = "贷款图表数据DTO")
public class LoanChartDTO {

    @Schema(description = "周期列表")
    private List<String> periods;
    
    @Schema(description = "金额趋势")
    private List<BigDecimal> amountTrend;
    
    @Schema(description = "笔数趋势")
    private List<Integer> countTrend;
    
    @Schema(description = "期限分布")
    private List<Map<String, Object>> termDistribution;
    
    @Schema(description = "产品分布")
    private List<Map<String, Object>> productDistribution;
    
    @Schema(description = "金额分布")
    private List<Map<String, Object>> amountDistribution;
    
    @Schema(description = "状态分布")
    private List<Map<String, Object>> statusDistribution;
} 
